<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js#appId=170595899632204&amp;amp;xfbml=1"></script>

<?php 
echo $this->accessToken;
if (!$this->loggedInFacebookUser) {
?>
<a href="<?php echo $this->loginUrl; ?>">
<img src="http://static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif">
</a>
<?php
} else {
?>
<a href="<?php echo $this->logoutUrl; ?>">
<img src="http://static.ak.fbcdn.net/rsrc.php/z2Y31/hash/cxrz4k7j.gif">
</a>
<?php
}
?>
